<?php
/**
 * @version        $Id: ajax_loginsta.php 1 8:38 2010年7月9日Z tianya $
 * @package        DedeCMS.Member
 * @copyright      Copyright (c) 2007 - 2010, DesDev, Inc.
 * @license        http://help.dedecms.com/usersguide/license.html
 * @link           http://www.dedecms.com
 */
require_once(dirname(__FILE__)."/config.php");
AjaxHead();
if($myurl == '') exit('');

$uid  = $cfg_ml->M_LoginID;

!$cfg_ml->fields['face'] && $face = ($cfg_ml->fields['sex'] == '女')? 'dfgirl' : 'dfboy';
$facepic = empty($face)? $cfg_ml->fields['face'] : $GLOBALS['cfg_memberurl'].'/templets/images/'.$face.'.png';
?>




		<div class="login-after" >
<!--					<div class="user-message notify-red">-->
<!--						<a href="/user/pm.php" class="icon-message"></a>-->
<!--						<div class="down-box">-->
<!--							<div class="message-box"></div>-->
<!--						</div>-->
<!--					</div>-->
					<div class="user-box" >
						<a href="<?php echo $cfg_memberurl; ?>/">
							<div class="user-img">
								<img src="<?php echo $facepic;?>" width="28" height="28" alt="">
							</div>
							<div class="user-info">
								<p class="u-info-id">ID:<?php echo $cfg_ml->M_UserName; ?></p>
							</div>
						</a>
						<div class="down-box" style="margin-top:0px;display:none;">
							<ul class="after-down">
								<li><a href="<?php echo $cfg_memberurl; ?>/" title="个人中心" target="_blank"><i class="icon-user"></i>个人中心</a></li>
								<li><a href="<?php echo $cfg_memberurl; ?>/soft_add.php?channelid=3" title="上传作品" target="_blank" rel="nofollow"><i class="icon-upload"></i>上传作品</a></li>
								<li><a href="<?php echo $cfg_memberurl; ?>/buy.php" title="会员充值" target="_blank" rel="nofollow"><i class="icon-home"></i>会员充值</a></li>
								<li><a href="<?php echo $cfg_memberurl; ?>/mystow.php" title="我的收藏" target="_blank" rel="nofollow"><i class="icon-fav"></i>我的收藏</a></li>
								<li><a href="<?php echo $cfg_memberurl; ?>/index_do.php?fmdo=login&dopost=exit" title="退出" target="_blank" rel="nofollow"><i class="icon-exit"></i>退出</a></li>
							</ul>
						</div>
					</div>
				</div>


<!-- 上传-->

<!--上传 End -->
<!-- 私信-->
<!--
<div class="headRBtn fl relative slideBtn">
						<p><span class="icon inbox"></span></p>
	<dl class="inboxDl slideBox">
		<dt class="inboxDt">
			<span class="inboxDtSan"></span>
			<p class="inboxDtP">私信&nbsp;&nbsp;<font>(<?php echo $mypms;?>)</font></p>
		</dt>
		<dd>
			<ul>
										</ul>
			<a href="<?php echo $cfg_memberurl; ?>/pm.php" class="headMore">查看更多</a>
		</dd>
	</dl>
</div>
<!-- 私信 End -->

<!-- 设置 -->
<!--<div class="headRBtn headShezhi fl relative slideBtn">
	<p><a href="<?php echo $cfg_memberurl; ?>/"><img src="<?php echo $facepic;?>" width="29" height="29" class="radius100" /></a></p>
	<ul class="uploadUl slideBox">
		<li><a href="<?php echo $cfg_memberurl; ?>/" title="<?php echo $cfg_ml->M_UserName; ?>"><?php echo $cfg_ml->M_UserName; ?></a></li>
		<li><a href="<?php echo $cfg_memberurl; ?>/buy.php" title="账户充值">账户充值</a></li>
		<li><a href="<?php echo $cfg_memberurl; ?>/mystow.php" title="我的收藏">我的收藏</a></li>
		<li><a href="<?php echo $cfg_memberurl; ?>/edit_fullinfo.php" title="资料修改">资料修改</a></li>
		<li><a href="<?php echo $cfg_memberurl; ?>/index_do.php?fmdo=login&dopost=exit" title="退出登录">退出登录</a></li>
	</ul>
</div>
-->
<!-- 设置 End -->
<!-- /<div class="color_ccc" id="top_login">
	<a href="<?php echo $cfg_memberurl; ?>" class="face-top" target="_blank"><img src="<?php echo $facepic;?>" /></a>
	<a class="uname"><?php echo $cfg_ml->M_UserName; ?></a>
    <?php if($cfg_ml->isAdmin==1){ echo "<a href='$cfg_cmsurl/dede_myadmin' target='_blank'>网站后台</a>"; }?>        
    <a href="<?php echo $cfg_memberurl; ?>" target="_blank">管理中心</a>
    <a href="<?php echo $cfg_memberurl; ?>/pm.php">消息 <font>(<?php echo $mypms;?>)</font></a>
    <a href="<?php echo $cfg_memberurl; ?>/index_do.php?fmdo=login&dopost=exit">退出登录</a>
</div>
userinfo -->


